Problem Note 11027: Extraneous CSS information is added to the HTML file creating style
sheets with PROC PRINT
Creating HTML output using PROC PRINT, the HTMLCLASS= attribute,
and the STYLESHEET option to create an internal or external style
sheet generates extra CSS code in the HTML file.
The formatting is handled in the CSS file. However, extraneous CSS style
sheet properties are added to the file overriding the style sheet.
This problem is specific to PROC PRINT and can be replicated using the
code below.
ods html file="temp.html" stylesheet
headtext="<style> .test {width:50}</style>";
proc print data=sashelp.class;
var age / style={htmlclass="test"};
run;
ods html close;
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows 95/98 | 8.2 TS2M0 | |
Microsoft Windows NT Workstation | 8.2 TS2M0 | |
Microsoft Windows XP Professional | 8.2 TS2M0 | 9.3 TS1M0 |
Windows Millennium Edition (Me) | 8.2 TS2M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9 TS M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 8.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 8.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 8.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows 2000 Professional | 8.2 TS2M0 | |
Microsoft Windows 2000 Server | 8.2 TS2M0 | |
Microsoft Windows 2000 Advanced Server | 8.2 TS2M0 | |
Microsoft Windows 2000 Datacenter Server | 8.2 TS2M0 | |
Solaris | 8.2 TS2M0 | 9.3 TS1M0 |
OpenVMS VAX | 8.2 TS2M0 | 9.3 TS1M0 |
IRIX | 8.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled Solaris | 8.2 TS2M0 | 9.3 TS1M0 |
OS/2 | 8.2 TS2M0 | |
Linux | 8.2 TS2M0 | 9.3 TS1M0 |
z/OS | 8.2 TS2M0 | 9.3 TS1M0 |
ABI+ for Intel Architecture | 8.2 TS2M0 | 9.3 TS1M0 |
HP-UX | 8.2 TS2M0 | 9.3 TS1M0 |
CMS | 8.2 TS2M0 | 9.3 TS1M0 |
HP-UX IPF | 9 TS M0 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 8.2 TS2M0 | 9.3 TS1M0 |
OpenVMS Alpha | 8.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled AIX | 8.2 TS2M0 | 9.3 TS1M0 |
Tru64 UNIX | 8.2 TS2M0 | 9.3 TS1M0 |
AIX | 8.2 TS2M0 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Extraneous CSS information is added to the HTML file creating style
sheets with PROC PRINT.
Type: | Problem Note |
Priority: | medium |
Topic: | SAS Reference ==> ODS (Output Delivery System)
|
Date Modified: | 2004-05-11 14:38:08 |
Date Created: | 2003-10-09 12:43:54 |